smallest and largest fraction